package com.zallds.fabric.service;

import org.hyperledger.fabric.sdk.Channel;
import org.hyperledger.fabric.sdk.exception.CryptoException;
import org.hyperledger.fabric.sdk.exception.InvalidArgumentException;
import org.hyperledger.fabric.sdk.exception.ProposalException;

import java.lang.reflect.InvocationTargetException;

/**
 * Created by liujian on 2018/9/10.
 */
public interface myccService {

    public String invoke(String nameA, String nameB, int money) throws InvalidArgumentException, ProposalException;

    public String queryMoney(String name) throws Exception;
}
